package com.video.chat.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.video.chat.domain.entity.MessageEntity;

import java.util.List;

public interface MessageService extends IService<MessageEntity>  {
    List<MessageEntity> getChatHistory(Long userId, Long friendId);
    void saveMessage(MessageEntity messageEntity);

}
